const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  staffPhoto: state => state.user.profile.staffPhoto, // 头像映射
  name: state => state.user.profile.username, // 用户名映射
  companyId: state => state.user.profile.companyId
}
export default getters
